// @ts-ignore
/* eslint-disable */
import request from '@/utils/request'

/** 此处后端没有提供注释 GET /category/list */
export async function listAll(options?: { [key: string]: any }) {
  return request<MallService.ResultListBizProductCategory>(`/mall/category/list`, {
    method: 'GET',
    ...(options || {}),
  })
}

/** 此处后端没有提供注释 GET /category/tree */
export async function listTree(options?: { [key: string]: any }) {
  return request<MallService.ResultListBizProductCategory>(`/mall/category/tree`, {
    method: 'GET',
    ...(options || {}),
  })
}
